/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package baiwa.rta.model;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author jirapatjantsakool
 */
public class RMactwModel extends BaseModel implements Serializable {
	
	private static final long serialVersionUID = 5383629622272525805L;
	private Integer actwid;
    private String actwusrno;
    private String actwcrdno;
    private String actwstat;
    private Date actwstatdat;
    private Date actwacupd;
    private String actwcreby;
    private Date actwcredat;
    private String actwupdby;
    private Date actwupddat;
    private RMrmlstModel rlrmid;
    private Integer rlrmidKey;

    public RMactwModel() {
    }

    public RMactwModel(Integer actwid) {
        this.actwid = actwid;
    }

    public Integer getActwid() {
        return actwid;
    }

    public void setActwid(Integer actwid) {
        this.actwid = actwid;
    }

    public String getActwusrno() {
        return actwusrno;
    }

    public void setActwusrno(String actwusrno) {
        this.actwusrno = actwusrno;
    }

    public String getActwcrdno() {
        return actwcrdno;
    }

    public void setActwcrdno(String actwcrdno) {
        this.actwcrdno = actwcrdno;
    }

    public String getActwstat() {
        return actwstat;
    }

    public void setActwstat(String actwstat) {
        this.actwstat = actwstat;
    }

    public Date getActwstatdat() {
        return actwstatdat;
    }

    public void setActwstatdat(Date actwstatdat) {
        this.actwstatdat = actwstatdat;
    }

    public Date getActwacupd() {
        return actwacupd;
    }

    public void setActwacupd(Date actwacupd) {
        this.actwacupd = actwacupd;
    }

    public String getActwcreby() {
        return actwcreby;
    }

    public void setActwcreby(String actwcreby) {
        this.actwcreby = actwcreby;
    }

    public Date getActwcredat() {
        return actwcredat;
    }

    public void setActwcredat(Date actwcredat) {
        this.actwcredat = actwcredat;
    }

    public String getActwupdby() {
        return actwupdby;
    }

    public void setActwupdby(String actwupdby) {
        this.actwupdby = actwupdby;
    }

    public Date getActwupddat() {
        return actwupddat;
    }

    public void setActwupddat(Date actwupddat) {
        this.actwupddat = actwupddat;
    }

    public RMrmlstModel getRlrmid() {
        return rlrmid;
    }

    public void setRlrmid(RMrmlstModel rlrmid) {
        this.rlrmid = rlrmid;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (actwid != null ? actwid.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof RMactwModel)) {
            return false;
        }
        RMactwModel other = (RMactwModel) object;
        if ((this.actwid == null && other.actwid != null) || (this.actwid != null && !this.actwid.equals(other.actwid))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "baiwa.rta.model.Rmactw[ actwid=" + actwid + " ]";
    }

	public Integer getRlrmidKey() {
		return rlrmidKey;
	}

	public void setRlrmidKey(Integer rlrmidKey) {
		this.rlrmidKey = rlrmidKey;
	}

    
}
